﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SvrChannels = System.ServiceModel.Channels;

namespace FaWorks.WebSocket.Entity.Message
{
    public class Conversation
    {
        IList<Person> Persons { get; set; }

        public void Broadcast(SvrChannels.Message message) {
            foreach (Person p in this.Persons) {
                p.SendMessage(message);
            }
        }
    }
}
